<%-- 
    Document   : index
    Created on : Oct 30, 2013, 7:28:06 PM
    Author     : think
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>


<jsp:forward page="login.jsp" />
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        
        <title>JSP Page</title>
        
        
        <head>
      
</head>
    </head>
    <body>        
        
        <%
            for(int i=1;i<=10;i++){
                
                
                if(i%2==0){
                    
                    %>
                    <p color="red">Nilai "i" = <%= i %> Genap</p>
                    <%
                }else{
                     %>
                         <p color="blue">Nilai "i" = <%= i %> Ganjil</p>
                     <%
                }
                
               
            }
        
        %>
    
    </body>
    
    
</html>
